/**
 * 该文件用来汇总所有reducer为一个总的reducer
 */
 import {combineReducers} from 'redux';

//  import countReducer from './count';
//  import personReducer from './person';

//  const allReducers=combineReducers({
//     count:countReducer,
//     persons:personReducer
// })
//////////////////////优化为如下
import count from './count';
import persons from './person';

const allReducers=combineReducers({
   count,
   persons
})

export default allReducers